package com.designpattern.agency;

/**
 * @author Liusr
 * @date 2023/3/4
 * @package com.designpattern.agency
 * @Description:
 */
public class Suitors implements GiveGift{

	private String girl;

    public Suitors(String girl) {
        this.girl = girl;
    }

	@Override
	public void giveDolls() {
		System.out.println("送给"+girl+"洋娃娃");
	}

	@Override
	public void giveFlowers() {
		System.out.println("送给"+girl+"花");
	}

	@Override
	public void giveChocolate() {
		System.out.println("送给"+girl+"巧克力");
	}
}
